package com.top.art.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @description:
 * @author: huangyixin
 * @create: 2020/10/11 16:08
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
@TableName("t_exam_dist")
public class ExamDist implements Serializable {
    private static final long serialVersionUID = -6749538841357577033L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String distributor;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date disTime;
}
